#!/usr/bin/env bash
# bc命令用于计算
#求1+2+3.....+1000的值
echo {1..1000} | tr " " "+" | bc





